package com.google.code.wicket.auth.component.value.resolver.annotation;

import java.lang.annotation.Annotation;

/**
 * A Strategy to retrieve a specified type from a specified annotation type.
 * 
 * @param <A>
 * @param <T>
 */
public interface AnnotationValueRetrievalStrategy<A extends Annotation, T> {

    /**
     * Get the annotation value.
     * 
     * @param annotation
     * @return
     */
    T retrieveAnnotationValue(A annotation);

}
